Parallel Construction of k-d Trees and Related Problems

نویسندگان

  • Ibraheem Al-furaih
  • Srinivas Aluru
  • Sanjay Goil
  • Sanjay Ranka
چکیده

k-d tree (or Multidimensional binary search tree) is often used as a data structure for organizing and manipulating spatial data. We present several algorithms for the parallel construction of k-d trees on coarse-grained distributed memory parallel machines. We analyze them both theoretically and experimentally. Experimental results on the CM-5 are reported. 1 Multidimensional Binary Search Trees Consider a set of n points in k dimensional space. Let d1; d2; : : : ; dk denote the k dimensions. The root of the k-d tree 3] corresponds to the set of all points. A dimension dl is chosen to nd the median coordinate of all the points along dl. The points are partitioned into two approximately equal sized sets-one set containing all the points whose coordinates along dimension dl are less than or equal to this median and a second set containing all the remaining points. The two subpartitions are represented by the children of the root node. The tree is built recursively until each leaf corresponds to one point. In homogeneous trees, internal nodes are used to store the median points. Non-homogeneous trees store points only at the leaves. Partial construction of k-d trees is used in several applications. In parallel graph partitioning, p partitions are created to distribute the graph to p processors, requiring the construction of only the rst log p levels of the k-d tree. In hierarchical applications like the n-body simulation, clustering of physically proximate objects is essential and the k-d tree ooers such a clustering scheme. In databases, records can be treated as points in an appropriate space by mapping each key to a coordinate and the resulting point set can be organized using a k-d tree. In constructing the tree, a node is partitioned only if all its records do not t in one disk sector. Our focus is on algorithms for eecient parallel construction of balanced, non-homogeneous k-d trees on coarse-grained distributed memory parallel computers. For all nodes at level i of the tree (deening the root to be at level 0), we use dimension d (i mod k)+1. Other variations can be easily implemented with minor changes in our algorithms without signiicantly aaecting their running time. 2 Model of Parallel Computation A coarse-grained parallel computer consists of several relatively powerful processors connected by an interconnection network. Most of the commercially available parallel computers including SGI Challenge, Intel Paragon and Delta, Cray T3D, …

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Connections between labellings of trees

There are many long-standing conjectures related with some labellings of trees. It is important to connect labellings that are related with conjectures. We find some connections between known labellings of simple graphs.

متن کامل

A MULTI-OBJECTIVE DECENTRALIZED MULTIPLE CONSTRUCTION PROJECTS SCHEDULING PROBLEM CONSIDERING PERIODIC SERVICES AND ORDERING POLICIES

In decentralized construction projects, costs are mostly related to investment, material, holding, logistics, and other minor costs for implementation. For this reason, simultaneous planning of these items and appropriate scheduling of activities can significantly reduce the total costs of the project undertaken. This paper investigates the decentralized multiple construction projects schedulin...

متن کامل

Parallel k Nearest Neighbor Graph Construction Using Tree-Based Data Structures

Construction of a nearest neighbor graph is often a necessary step in many machine learning applications. However, constructing such a graph is computationally expensive, especially when the data is of high dimensionality. In this work, we focus on the use of two tree structures, k-d trees and ball trees, to implement nearest neighbor graph construction. We present parallel implementations of n...

متن کامل

Parallel Generation of t-ary Trees

A parallel algorithm for generating t-ary tree sequences in reverse B-order is presented. The algorithm generates t-ary trees by 0-1 sequences, and each 0-1 sequences is generated in constant average time O(1). The algorithm is executed on a CREW SM SIMD model, and is adaptive and cost-optimal. Prior to the discussion of the parallel algorithm a new sequential generation with O(1) average time ...

متن کامل

Parallel SAH k-D Tree Construction for Fast Dynamic Scene Ray Tracing

The k-D tree is a well-studied acceleration data structure for ray tracing. It is used to organize primitives in a scene to allow efficient execution of intersection operations between rays and the primitives. The highest quality k-D tree can be obtained using greedy cost optimization based on a surface area heuristc (SAH). While the high quality enables very fast ray tracing times, a key drawb...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1996